<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>Diagram-Layers</title>
		<link type="text/css" rel="stylesheet" href="PLUGINS_ROOT/org.polarsys.capella.studio.doc/html/style/style.css"/>
	</head>
	<body>
		<h1 id="Diagram_Layers">Diagram Layers</h1>
		<p>One can define either new kind of diagram, or layers for existing diagrams.</p>
		<p>Diagram layers can provide additional elements on the diagram, additional tools in the palette and customized styling of already existing elements</p>
		<p>
			<img height="632" width="563" border="0" src="img/define-diagram-layers.png"/>
		</p>
		<h2 id="Define_new_Diagram_Layers">Define new Diagram Layers</h2>
		<h3 id="Using_VPDSL">Using VPDSL</h3>
		<p>Diagram layers can be defined using VPDSL</p>
		<p>Diagram layers are defined the .diagram.vptext file of the VPDSL plugin</p>
		<p>See 
			<a href="/wiki/../help/topic/org.polarsys.capella.studio.doc/html/extension/viewpointdevelopment.html" title="../help/topic/org.polarsys.capella.studio.doc/html/extension/viewpointdevelopment.html">Viewpoint Development</a> page for more information.
		</p>
		<h3 id="Using_Sirius_odesign_files">Using Sirius odesign files</h3>
		<p>Diagram layers and new diagrams can also be defined using Sirius odesign files.

			<br/>
			One can define odesign files from scratch, or use VPDSL to initialize a first version of the odesign file and then modify it directly.

			<br/>
			When defining a diagram in the .spec.vptext file of VPDSL plugin, VPDSL will generate a plugin ending with .design.

			<br/>
			This plugin contains an odesign file in the folder description.

			<br/> 
			To know more about definition of odesign files, please have a look at the embedded help in Help / Help Contents / Sirius, or have a look at Sirius online resources:
		</p>
		<ul>
			<li>
				<a href="https://www.eclipse.org/sirius/doc/" target="_blank">Sirius online documentation</a>
			</li>
			<li>
				<a href="https://www.eclipse.org/sirius/getstarted.html" target="_blank">Sirius tutorials</a>
			</li>
		</ul>
	</body>
</html>